Also moved the set of label_actor of the menu some lines before,
to improve readability.
https://bugzilla.gnome.org/show_bug.cgi?id=706903
color: #eeeeec;
}
+.datemenu-date-label:focus {
+ background-color: #999999;
+}
+
.calendar-day-base {
font-size: 9pt;
text-align: center;
this.parent(menuAlignment);
this._clockDisplay = new St.Label({ y_align: Clutter.ActorAlign.CENTER });
+ this.actor.label_actor = this._clockDisplay;
this.actor.add_actor(this._clockDisplay);
this.actor.add_style_class_name ('clock-display');
hbox.add(vbox);
// Date
- this._date = new St.Label();
- this.actor.label_actor = this._clockDisplay;
- this._date.style_class = 'datemenu-date-label';
+ this._date = new St.Label({ style_class: 'datemenu-date-label',
+ can_focus: true });
vbox.add(this._date);
this._eventList = new Calendar.EventsList();